/* Imports */
@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@400;500;600;700;800&display=swap");

/* Box Sizing  */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #9C84CF;
  --secondary-color: #FFB6C1;
  --CTA-color: #B2E3C9;
  --text-color: #FFFAFA;
  --max-width: 1440px;
  --heading-font: "Nerko One";
  --body-font: "Kanit";
}

.flex-d-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body, html {
  margin: 0px;
  padding: 0;
  width: 100%;
}

.full-width {
  width: 100%;
  margin: 0;
}

.container {
  padding: 20px;
  max-width: 1440px;
  margin: auto;
  box-sizing: border-box;
}

.section {
  width: 700px;
  margin: 20px, 0;
}

/* Fonts */

.nerko-one-regular {
  font-family: "Nerko One";
  font-weight: 200;
  font-style: normal;
}

.kanit-thin {
  font-family: "Kanit";
  font-weight: 100;
  font-style: normal;
}

.kanit-light {
  font-family: "Kanit";
  font-weight: 300;
  font-style: normal;
}

.kanit-regular {
  font-family: "Kanit";
  font-weight: 400;
  font-style: normal;
}

.kanit-semibold {
  font-family: "Kanit";
  font-weight: 600;
  font-style: normal;
}

.kanit-bold {
  font-family: "Kanit";
  font-weight: 700;
  font-style: normal;
}

.kanit-extrabold {
  font-family: "Kanit";
  font-weight: 800;
  font-style: normal;
}

/* headlines */

h1{
  width: 100%;
  text-align: left;
  color: #FFFAFA;
  font-family: "Nerko One";
  font-size: 95px;
  font-weight: 200;
  text-shadow: -3px 3px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

h2{
  width: 100%;
  text-align: left;
  color: #9C84CF;
  font-family: "Kanit";
  font-size: 28px;
  font-weight: 600;
  margin-top: 10;
  margin-bottom: auto;
}

h3{
  width: 100%;
  text-align: center;
  color: #FFB6C1;
  font-family: "Kanit";
  font-size: 28px;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: auto;
  letter-spacing: 1px;
}

h4 {
  width: 100%;
  text-align: center;
  color: #FFB6C1;
  font-family: "Kanit";
  font-size: 22px;
  font-weight: 500;
  margin-top: 10px;
  margin-bottom: auto;
  letter-spacing: 1px;
}

h5{
  width: 100%;
  text-align: left;
  color: #9C84CF;
  font-family: "Kanit";
  font-size: 22px;
  font-weight: 500;
  margin-top: 10;
  margin-bottom: auto;
}

h6{
  width: 100%;
  text-align: left;
  color: #9C84CF;
  font-family: "Kanit";
  font-size: 18px;
  font-weight: 500;
}

p {
  width: 100%;
  text-align: left;
  color: #FFFAFA;
  font-family: "Kanit";
  font-size: 20px; 
  font-weight: 100;
  letter-spacing: 1px;
}

/* Header */

.header-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-bar {
  display: flex;
  align-items: center;
}

.nav-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 45px;
}

.nav-bar li {
  margin: 0;
}

.nav-bar a {
  text-decoration: none; 
  color: #9C84CF;
  font-family: "Nerko One";
  font-weight: 100;
  font-size: 22px;
}

.nav-bar a:hover {
  color: #B2E3C9;
}

/* buttons */

.button {
  width: 285px;
  height: 55px;
  border-radius: 8px;
  background: linear-gradient(to bottom left, #B2E3C9, #96C0AA);
  box-shadow: -3px 3px 10px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  font-family: "Nerko One";
  font-size: 24px;
  font-weight: 200;
  color: #9C84CF;
  display: inline-block;
  text-decoration: none;
  line-height: 50px;
  text-align: center;
}

.button:hover {
  background: linear-gradient(to bottom left, #9C84CF, #6c5c91);
  color: #B2E3C9;
}

/* Footer */

.main-footer {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  height: 520px;
  padding: 0;
  margin-top: 6%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1440px;
  width: 100%;
  padding: 20px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  padding: 20px 0px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-nav a {
  text-decoration: none;
  color: #FFFAFA;
  font-family: "Nerko One";
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 1px;
}

.footer-nav li {
  margin-bottom: 2.5%;
}

.footer-nav li:last-child {
  margin-bottom: 0;
}

.footer-nav a:hover {
  color: #B2E3C9;
}

.footer-center {
  flex: 1;
  text-align: left;
  margin-top: 50px;
  max-width: 500px;
  padding: 0 250px;
}

.footer-logo {
  margin-top: 220px;
  text-align: right;
  flex: 1;
  align-content: top;
}

/* copyrights */

.copyright {
  text-align: center;
  margin-top: auto;
  margin-bottom: 20px;
}

.copyright p {
  margin: 0;
  text-align: center;
  font-weight: 200px;
  font-size: 18px;
}





/* Home page */

.main-section {
  margin-top: 120px; 
  }

.Home-second-section {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin-top: 270px;
  gap: 50px;
}

.item {
  display: flex;
  justify-content: space-between;
  align-content: center;
  width: 100%;
}

.item-1 {
  text-align: left;
  flex: 1; 
  align-self: start;
  margin-left: 10px; 
  width: 100%;
}

.item-2 {
  display: block;
  max-width: 32%;
  transition: transform 0.3s ease;
}

.item-2:hover {
  transform: scale(1.2);
}

.item-3 {
  margin-top: 300px;
  text-align: left;
  flex: 1;
  align-content: top;
  margin-left: 100px;
}

/* slides */

.slider-container {
  position: relative;
  width: 50%;
  margin: 150px auto;
  align-content: center;
}


.slide {
  display: none;
  padding: 30px;
  color: #FFFAFA;
}


.slide.active {
  display: block;
}

.slide-headline{
  margin-bottom: 10px;
}

.slide-text {
  text-align: center;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translatey(-50%);
  background-color: transparent;
  color: #FFFAFA;
  border: none;
  font-size: 28px;
  cursor: pointer;
  font-weight: bold;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}


/* Cards */

.cards-section {
  margin-top: 450px;
  width: 100%;
  text-align: center;
}

.cards-title {
  margin-bottom: 60px;
  width: 100%;
  margin-top: -250px;
}

.card-container {
  display: flex;
  width: 100%;
  flex-direction: row;
  gap: 120px;
  justify-content: center;
}

.card {
  padding: 20px 16px 20px 16px;
  border-radius: 200px;
  position: relative;
  text-align: center;
  column-gap: 30px;
  background-color: transparent;
}

.card img {
  padding: 25px;
  width: 211px;
  height: 211px;
  border-radius: 300px;
  object-fit: contain;
  border: 8px solid #B2E3C9;
}

.card img:hover {
  box-shadow: 0 0px 17px #9C84CF;
}

.card > span {
  width: 200px;
  height: 33px;
  background-color: #9C84CF;
  font-family: "Kanit";
  font-size: 16px;
  font-weight: 100;
  text-align: center;
  padding: 20px 0;
  border-radius: 50px;
  position: absolute;
  top: 30px;
  right: -70px;
  color: #FFFAFA;
  letter-spacing: 1px;
  line-height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
}




/* About page */

.main-about-section {
  width: 38%;
  margin-right: 0;
  margin-left: auto;
  padding-top: 50px;
  position: relative;
  top: 50px;
  margin-bottom: 150px;

}

.main-about-section h1 {
color: #9C84CF;
text-shadow: -2px 2px 5px #9C84CF(0, 0, 0, 0.1);
font-size: 90px;
line-height: 100px;
letter-spacing: 1px;
}

.main-paragraph {
  flex: 1;
  width: 100%;
  text-align: left;
  font-family: "Kanit";
  font-size: 22px;
  font-weight: 100;
  letter-spacing: 0.5px;
}

.About-second-section {
  display: flex;
  width: 100%;
  align-items: right;
  gap: 150px;
  margin-top: 200px;
}

/* Graph */

.bark-meter-container {
  flex: 1; 
  max-width: 650px;
  padding: 0px;
  color: #9C84CF;
  align-items:flex-start;
  display: flex;
  flex-direction: column;
  padding-top: 140px;
}

.bark-meter-container h3 {
  margin-bottom: 20px;
  font-size: 32px;
  font-family: "Nerko One";
  color: #9C84CF;
  font-weight: 100;
}

.bark-note {
  margin-top: 20px;
  color: #9C84CF;
  font-size: 16px;
  font-family: "kanit";
}

/* Icons */

.Icons-container {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 600px;
  margin-top: 320px;
}

.Icons-title {
  margin-bottom: 5px; 
  width: 100%;
  font-size: 32px;
  text-align: center;
}

.Icon {
  padding: 10px 20px 40px 35px;
  border-radius: 200px;
  position: relative;
  column-gap: 20px;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.Icon h2 {
  margin-bottom: 20px;
  font-size: 25px;
  font-family: "Nerko One";
  color: #9C84CF;
  font-weight: 100;
}

.Icon img {
  padding: 15px;
  width: 154px;
  height: 154px;
  border-radius: 300px;
  object-fit: fill;
  border: 7px solid #B2E3C9;
  display: block;
  margin-bottom: 10px;
}

.Icon img:hover {
  box-shadow: 0 0px 17px #9C84CF;
}

/* pics */

.about-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-item img {
  width: 33%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-item img:hover {
  transform: scale(1.2);
}

.about-item h6 {
  font-size: 22px;
  line-height: 1.7;
  margin-left: 100px;
}

.about-item.image-left {
  display: flex;
  flex-direction: row; 
}

.about-item.image-left h6 {
  margin-left: 400px;
}

.about-item.image-right {
  display: flex;
  flex-direction: row-reverse;
}





/* Contect page */

.Contect-title {
  align-content: end;
  height: 250px;
  margin-top: 200px;
}

.main-contect {
  display: flex;
  flex-direction: row;
  gap: 200px;
  margin-top: 100px;
}

select {
  background-image: url('img/Contect/arrow.png');
  background-position: right 20px center;
  background-repeat: no-repeat;
  padding-right: 30px;
}

select::-ms-expand {
  display: none;
}

.Special-Wish {
  color: #FFB6C1;
  font-size: 30px ;
}

.contact-info {
  list-style-type: none;
  padding: 0;
  margin-bottom: 20px;
  font-size: 28px;
  font-family: "Nerko One";
  color: #9C84CF;
  font-weight: 200;
  outline: none;
}

.contact-info a {
  text-decoration: none;
  color: inherit;
}

.contact-info a:hover {
  color: #B2E3C9;
}

.contact-info-section {
  align-content: center;
}

.contact-info-section h4{
  font-family: "Nerko One";
  font-size: 30px;
  font-weight: 300;
}

button {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.reset-button {
  position: relative;
  width: 280px;
  height: 48px;
  border-radius: 8px;
  background-color: #FFFAFA;
  color: #9C84CF;
  font-family: "Nerko One";
  font-size: 24px;
  font-weight: 200;
  text-decoration: none;
  text-align: center;
  line-height: 50px;
  display: inline-block;
  cursor: pointer;
  border: none;
}

.reset-button::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 12px;
  background: linear-gradient(to bottom left, #B2E3C9, #96C0AA);
  z-index: -1;
}

.reset-button:hover::before {
  background: linear-gradient(to bottom left, #9C84CF, #6c5c91);
}

.reset-button:hover {
  color: #B2E3C9;
}

.main-contect section {
  max-width: 600px;
  margin: 20px 25px;
  padding: 20px;
  margin-top: 80px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  display: block;
  color: #9C84CF;
  font-family: "Nerko One";
  font-size: 25px;
}

select {
  width: 560px;
  padding: 12px;
  border: 3px solid #B2E3C9;
  border-radius: 25px;
  background-color: #ffffff;
  color: #FFB6C1;
  font-size: 20px;
  outline: none;
  cursor: pointer;
  font-family: "Kanit";
  font-size: 18px; 
  font-weight: 100;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 0.8rem;
  border: 3px solid #A8E6CF;
  border-radius: 7px;
  outline: none;
  font-family: "Kanit";
  font-size: 18px; 
  font-weight: 100;
  background-color: #FFFAFA;
}

input::placeholder {
  color: #FFB5C2;
}

textarea {
  width: 100%;
  padding: 0.8rem;
  border: 3px solid #A8E6CF;
  border-radius: 7px;
  font-size: 1rem;
  resize: vertical;
  min-height: 120px;
  outline: none;
  background-color: #FFFAFA;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #9C84CF;
  box-shadow: 0 0 0 2px #9C84CF(139, 125, 177, 0.1);
}

.buttons {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}

.send-button {
  width: 285px;
  height: 55px;
  border-radius: 8px;
  background: linear-gradient(to bottom left, #B2E3C9, #96C0AA);
  box-shadow: -3px 3px 10px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  font-family: "Nerko One";
  font-size: 24px;
  font-weight: 200;
  color: #9C84CF;
  display: inline-block;
  text-decoration: none;
  line-height: 50px;
  text-align: center;
}

.send-button:hover {
  background: linear-gradient(to bottom left, #9C84CF, #6c5c91);
  color: #B2E3C9;
}

.copyright-contect p {
  color: #9C84CF;
  text-align: center;
  margin-top: 200px;
}